package com.waypolice.manager.service;

import com.waypolice.base.BaseService;
import com.waypolice.pojo.UpmsArchivesTypes;
import com.waypolice.pojo.UpmsArchivesTypesExample;

import java.util.List;

/**
* UpmsArchivesTypesService接口
* Created by lzh on 2019/3/12
*/
public interface UpmsArchivesTypesService extends BaseService<UpmsArchivesTypes, UpmsArchivesTypesExample> {

    /*
        递归查出根节点及所有叶节点
     */
    List<UpmsArchivesTypes> selectByArchivesId(Integer archivesId);

    List<UpmsArchivesTypes> findAllTypes();

    List<UpmsArchivesTypes> findArchiveTypeByArchiveNum(String volClass);

    /**
     * 根据类目序号查询,Fonds_Id为1
     * @return
     */
    List<UpmsArchivesTypes> findTypesBySortNum(String sortNum);
}